package com.yungongyu.pojo;

public class StorageRecotd {
    private Integer id;
    private String srCode;
    private Integer supplierId;
    private String goodsName;
    private String goodsDesc;
    private String goodsUnit;
    private double goodsCount;
    private double totalAmount;
    private Integer payStatus;
    private Integer createdUserId;
    private String createdTime;
    private Integer updatedUserId;
    private String updatedTime;

    // 供货商对象
    private  Supplier supplier;

    public StorageRecotd() {
    }

    public StorageRecotd(String srCode, Integer supplierId, String goodsName, String goodsDesc, String goodsUnit, double goodsCount, double totalAmount, Integer payStatus, Integer createdUserId, String createdTime, Integer updatedUserId, String updatedTime, Supplier supplier) {
        this.srCode = srCode;
        this.supplierId = supplierId;
        this.goodsName = goodsName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
        this.supplier = supplier;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSrCode() {
        return srCode;
    }

    public void setSrCode(String srCode) {
        this.srCode = srCode;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public double getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(double goodsCount) {
        this.goodsCount = goodsCount;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Integer updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public String toString() {
        return "StorageRecotd{" +
                "id=" + id +
                ", srCode='" + srCode + '\'' +
                ", supplierId=" + supplierId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", goodsCount=" + goodsCount +
                ", totalAmount=" + totalAmount +
                ", payStatus=" + payStatus +
                ", createdUserId=" + createdUserId +
                ", createdTime='" + createdTime + '\'' +
                ", updatedUserId=" + updatedUserId +
                ", updatedTime='" + updatedTime + '\'' +
                '}';
    }
}
